package com.bzy.blade_auth.service.impl;

import com.baomidou.mybatisplus.extension.api.R;
import com.bzy.blade_auth.mapper.RoleJurisdictionMapper;
import com.bzy.blade_auth.service.RoleJurisdictionService;
import com.bzy.bladeauthapi.entry.RoleJurisdiction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleJurisdictionServiceImpl implements RoleJurisdictionService {


    @Autowired
    private RoleJurisdictionMapper roleJurisdictionMapper;

    @Override
    public R add(RoleJurisdiction roleJurisdiction) {
        return roleJurisdictionMapper.add(roleJurisdiction);
    }

    @Override
    public R update(RoleJurisdiction roleJurisdiction) {
        return roleJurisdictionMapper.update(roleJurisdiction);
    }

    @Override
    public R delete(RoleJurisdiction roleJurisdiction) {
        return roleJurisdictionMapper.delete(roleJurisdiction);
    }

    @Override
    public R selOne(RoleJurisdiction roleJurisdiction) {
        return roleJurisdictionMapper.selOne(roleJurisdiction);
    }

    @Override
    public R selList(RoleJurisdiction roleJurisdiction) {
        return roleJurisdictionMapper.selList(roleJurisdiction);
    }
}
